<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <base th:href="${path}">
    <title>欢迎页</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">系统首页</div>
    <div style="padding: 10px 0 20px 10px;">
        <h3>&nbsp;&nbsp;&nbsp;欢迎您的使用！</h3>
        <ul>
            <li>项目框架，简洁高效</li>
        </ul>

    </div>
</div>
<script th:inline="javascript"> var projectName = [[@{/}]] ; </script>
<script type="text/javascript">
	//获取当前网址，如： http://localhost:8083/uimcardprj/share/meun.jsp
   var curWwwPath = window.document.location.href;
   var pathName = window.document.location.pathname;
   var pos = curWwwPath.indexOf(pathName);
   
   //获取主机地址，如： http://localhost:8083
   var urlHost = curWwwPath.substring(0, pos);
   var ctx = urlHost + projectName;
</script>
</body>
</html>